package com.yksj.healthtalk.ui.doctorstation;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.view.View.OnClickListener;

import com.yksj.healthtalk.comm.BaseFragmentActivity;
import com.yksj.healthtalk.ui.R;
/**
 * 我的患者
 * @author Administrator
 *
 */
public class DoctorPatientMainListActivity extends BaseFragmentActivity implements OnClickListener {

	
	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		setContentView(R.layout.fragment_content_layout);
		FragmentManager fm = getSupportFragmentManager();
		FragmentTransaction beginTransaction = fm.beginTransaction();
		DoctorPatientListOption fragment = new DoctorPatientListOption();
		Bundle args=new Bundle();
		args.putSerializable("parmar",getIntent().getSerializableExtra("parame"));
		fragment.setArguments(args);
		beginTransaction.add(R.id.fragmentcontent, fragment);
		beginTransaction.commit();
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.title_back:
			setResult(RESULT_OK, getIntent());
			finish();
			break;
		}
	}
}
